package com.fushenlan.epidemicControl.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fushenlan.Vo.InhabitInfoVo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @Author zhulei
 * @DATE 2022/4/25
 * @PACKAGE_NAME com.fushenlan.po.dto
 * @VERSION 1.0
 * 核酸检测结果响应实体
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
public class NucleinDetectionResultRespDTO implements Serializable {

    private static final long serialVersionUID = 1L;
    /**
     * 主键
     */
    @ApiModelProperty(value = "主键")
    private Long id;

    /**
     * 通知名称
     */
    @ApiModelProperty(value = "通知名称")
    private String notificationName;

    /**
     * 检测时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @ApiModelProperty(value = "检测时间")
    private Date detectionTime;

    /**
     * 通知内容
     */
    @ApiModelProperty(value = "通知内容")
    private String noticeContent;

    /**
     * 1-全部小区 2-指定小区 3-指定检测人员 4-阳性及密接人员
     */
    @ApiModelProperty(value = "1-全部小区 2-指定小区 3-指定检测人员 4-阳性及密接人员")
    private Integer detectionType;

    /**
     * 检测人数   人员范围3-4的时候有值
     */
    @ApiModelProperty(value = "检测人数   人员范围3-4的时候有值")
    private Integer detectionNumber;


    private String createUser;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;


    private String updateUser;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date updateTime;
    @ApiModelProperty(value = "小区信息列表")
    List<CommunityinfoRespDTO> communityList;
    @ApiModelProperty(value = "居民信息列表")
    List<InhabitInfoVo> inhabitInfoVos;

    @ApiModelProperty(value = "未检测人数")
    private Integer noDetectionNum;
    @ApiModelProperty(value = "未登记人数")
    private Integer noRegisterNum;
    @ApiModelProperty(value = "阳性人数")
    private Integer sunNum;
    @ApiModelProperty(value = "未转运人数")
    private Integer noTransportNum;
}
